package com.jcx.ldzj.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jcx.ldzj.entity.DeptUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Ð¡Ìì
 * @since 2021-01-20
 */
@Mapper
public interface DeptUserMapper extends BaseMapper<DeptUser> {
    boolean deleteByuserId(String userId);

    boolean deleteBydeptId(String deptId);


    List<DeptUser> getListByAll(DeptUser deptUser);

    int getDeptUserCount(DeptUser deptUser);

}
